package com.ltmonitor.service;

import org.apache.mina.core.service.IoHandler;
import org.apache.mina.core.session.IdleStatus;
import org.apache.mina.core.session.IoSession;

import java.util.Collection;

public interface IJT808ServerHandler extends IoHandler {


	public abstract void messageReceived(IoSession session, Object message)
			throws Exception;

	public abstract void messageSent(IoSession session, Object message)
			throws Exception;

	public abstract void sessionClosed(IoSession session) throws Exception;

	public abstract void sessionCreated(IoSession session) throws Exception;

	public abstract void sessionIdle(IoSession session, IdleStatus idle)
			throws Exception;

	public abstract void sessionOpened(IoSession session) throws Exception;


}